import Layout from '@/layout'
export default
    {
        path: '/management',
        component: Layout,
        name: 'management',
        meta: { title: '业务管理', icon: 'example' },
        children: [
            {
                path: 'carconfig_index',
                name: 'carconfig_index',
                component: () => import('@/views/management/carconfig/carconfig/index'),
                meta: { title: '车辆编制查看', icon: 'table' }
            },
            {
                path: 'carconfig_apply',
                name: 'carconfig_apply',
                component: () => import('@/views/management/carconfig/apply/index'),
                meta: { title: '车辆编制管理', icon: 'table' }
            },
            {
                path: 'yearplan',
                name: 'yearplan',
                component: () => import('@/views/management/yearplan/manage/index'),
                meta: { title: '年度配备更新计划', icon: 'tree' },
            },
            {
                path: 'equipment',
                name: 'equipment',
                component: () => import('@/views/management/equipment/index'),
                meta: { title: '车辆配备', icon: 'tree' },
                children: [
                    {
                        path: 'equipment_apply',
                        name: 'equipment_apply',
                        component: () => import('@/views/management/equipment/apply/index'),
                        meta: { title: '车辆配备申请', icon: 'table' }
                    },
                    {
                        path: 'equipment_inspect',
                        name: 'equipment_inspect',
                        component: () => import('@/views/management/equipment/inspect/index'),
                        meta: { title: '车辆配备审核', icon: 'table' }
                    },
                    {
                        path: 'equipment_approval',
                        name: 'equipment_approval',
                        component: () => import('@/views/management/equipment/approval/index'),
                        meta: { title: '车辆配备审批', icon: 'table' }
                    },
                ]
            },

            {
                path: 'handle',
                name: 'handle',
                component: () => import('@/views/management/handle/index'),
                meta: { title: '车辆处置', icon: 'tree' },
                children: [
                    {
                        path: 'adjust',
                        name: 'adjust',
                        component: () => import('@/views/management/handle/adjust/index'),
                        meta: { title: '可调剂车辆', icon: 'table' }
                    },
                    {
                        path: 'handle_apply',
                        name: 'handle_apply',
                        component: () => import('@/views/management/handle/apply/index'),
                        meta: { title: '车辆处置申请', icon: 'table' }
                    },
                    {
                        path: 'handle_inspect',
                        name: 'handle_inspect',
                        component: () => import('@/views/management/handle/inspect/index'),
                        meta: { title: '车辆处置审核', icon: 'table' }
                    },
                    {
                        path: 'handle_approval',
                        name: 'handle_approval',
                        component: () => import('@/views/management/handle/approval/index'),
                        meta: { title: '车辆处置审批', icon: 'table' }
                    },
                ]
            }
        ],
        childrenBAK: [
            {
                path: 'carconfig',
                name: 'carconfig',
                component: () => import('@/views/management/carconfig/index'),
                meta: { title: '车辆编制管理', icon: 'tree' },
                children: [
                    {
                        path: 'carconfig',
                        name: 'carconfig_index',
                        component: () => import('@/views/management/carconfig/carconfig/index'),
                        meta: { title: '车辆编制管理', icon: 'table' }
                    },
                    {
                        path: 'inspect',
                        name: 'inspect',
                        component: () => import('@/views/management/carconfig/inspect/index'),
                        meta: { title: '车辆编制审核', icon: 'table' }
                    },
                    {
                        path: 'approval',
                        name: 'approval',
                        component: () => import('@/views/management/carconfig/approval/index'),
                        meta: { title: '车辆编制审批', icon: 'table' }
                    },
                    {
                        path: 'apply',
                        name: 'apply',
                        component: () => import('@/views/management/carconfig/apply/index'),
                        meta: { title: '申请修改车辆编制', icon: 'table' }
                    },
                ]
            },


            {
                path: 'equipment',
                name: 'equipment',
                component: () => import('@/views/management/equipment/index'),
                meta: { title: '车辆配备', icon: 'tree' },
                children: [
                    {
                        path: 'apply',
                        name: 'equipment_apply',
                        component: () => import('@/views/management/equipment/apply/index'),
                        meta: { title: '车辆配备申请', icon: 'table' }
                    },
                    {
                        path: 'inspect',
                        name: 'equipment_inspect',
                        component: () => import('@/views/management/equipment/inspect/index'),
                        meta: { title: '车辆配备审核', icon: 'table' }
                    },
                    {
                        path: 'approval',
                        name: 'equipment_approval',
                        component: () => import('@/views/management/equipment/approval/index'),
                        meta: { title: '车辆配备审批', icon: 'table' }
                    },
                ]
            },

            {
                path: 'handle',
                name: 'handle',
                component: () => import('@/views/management/handle/index'),
                meta: { title: '车辆处置', icon: 'tree' },
                children: [
                    {
                        path: 'adjust',
                        name: 'adjust',
                        component: () => import('@/views/management/handle/adjust/index'),
                        meta: { title: '可调剂车辆', icon: 'table' }
                    },
                    {
                        path: 'apply',
                        name: 'handle_apply',
                        component: () => import('@/views/management/handle/apply/index'),
                        meta: { title: '车辆处置申请', icon: 'table' }
                    },
                    {
                        path: 'inspect',
                        name: 'handle_inspect',
                        component: () => import('@/views/management/handle/inspect/index'),
                        meta: { title: '车辆处置审核', icon: 'table' }
                    },
                    {
                        path: 'approval',
                        name: 'handle_approval',
                        component: () => import('@/views/management/handle/approval/index'),
                        meta: { title: '车辆处置审批', icon: 'table' }
                    },
                ]
            }
        ]
    }